package com.yhlearn.dynamic.thread.pool.sdk.domain;

import com.yhlearn.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolConfigEntity;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IDynamicThreadPoolService {

    List<ThreadPoolConfigEntity> queryThreadPoolList();

    ThreadPoolConfigEntity queryThreadPoolConfigByName(String threadPoolExecutorName);

    void updateThreadPoolConfig(ThreadPoolConfigEntity threadPoolConfigEntity);
}
